home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / share / alsa / pcm / surround41.conf < prev    next >
Text File  |  2006-01-09  |  893b  |  63 lines

  1. #
  2. #  Hardware output from 4.1 speakers.
  3. #  Samples must be positioned:
  4. #    chn0 - front left
  5. #    chn1 - front right
  6. #    chn2 - rear left
  7. #    chn3 - rear right
  8. #    chn4 - LFE
  9. #
  10.  
  11. pcm.!surround41 {
  12.     @args [ CARD DEV ]
  13.     @args.CARD {
  14.         type string
  15.         default {
  16.             @func getenv
  17.             vars [
  18.                 ALSA_SURROUND41_CARD
  19.                 ALSA_PCM_CARD
  20.                 ALSA_CARD
  21.             ]
  22.             default {
  23.                 @func refer
  24.                 name defaults.pcm.surround41.card
  25.             }
  26.         }
  27.     }
  28.     @args.DEV {
  29.         type integer
  30.         default {
  31.             @func igetenv
  32.             vars [
  33.                 ALSA_SURROUND41_DEVICE
  34.             ]
  35.             default {
  36.                 @func refer
  37.                 name defaults.pcm.surround41.device
  38.             }
  39.         }
  40.     }
  41.     type route
  42.     slave.pcm {
  43.         @func refer
  44.         name {
  45.             @func concat
  46.             strings [
  47.                 "cards."
  48.                 {
  49.                     @func card_driver
  50.                     card $CARD
  51.                 }
  52.                 ".pcm.surround51." $DEV ":CARD=" $CARD
  53.             ]
  54.         }
  55.     }
  56.     slave.channels 6
  57.     ttable.0.0 1
  58.     ttable.1.1 1
  59.     ttable.2.2 1
  60.     ttable.3.3 1
  61.     ttable.4.5 1
  62. }
  63.